package com.ruoyi.records.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 兑换记录对象 t_exchange_records
 * 
 * @author 秦永昆
 * @date 2023-02-12
 */
public class ExchangeRecords extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 兑换记录表 */
    private Long exchangeRecordsId;

    /** 兑换商品id */
    @Excel(name = "兑换商品id")
    private Long prizeId;

    /** 商品名 */
    @Excel(name = "商品名")
    private String prizeName;

    /** 商品介绍 */
    @Excel(name = "商品介绍")
    private String prizeIntroduce;

    /** 商品logo */
    @Excel(name = "商品logo")
    private String prizeLogo;

    /** 商品积分 */
    @Excel(name = "商品积分")
    private Integer prizeIntegral;

    public String getPrizeName() {
        return prizeName;
    }

    public void setPrizeName(String prizeName) {
        this.prizeName = prizeName;
    }

    public String getPrizeIntroduce() {
        return prizeIntroduce;
    }

    public void setPrizeIntroduce(String prizeIntroduce) {
        this.prizeIntroduce = prizeIntroduce;
    }

    public String getPrizeLogo() {
        return prizeLogo;
    }

    public void setPrizeLogo(String prizeLogo) {
        this.prizeLogo = prizeLogo;
    }

    public Integer getPrizeIntegral() {
        return prizeIntegral;
    }

    public void setPrizeIntegral(Integer prizeIntegral) {
        this.prizeIntegral = prizeIntegral;
    }

    public void setExchangeRecordsId(Long exchangeRecordsId)
    {
        this.exchangeRecordsId = exchangeRecordsId;
    }

    public Long getExchangeRecordsId() 
    {
        return exchangeRecordsId;
    }
    public void setPrizeId(Long prizeId) 
    {
        this.prizeId = prizeId;
    }

    public Long getPrizeId() 
    {
        return prizeId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("exchangeRecordsId", getExchangeRecordsId())
            .append("prizeId", getPrizeId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
